package cn.xt.bean;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class Users {
	//usersName=qwqw&users_id=1&name=张三&cardid=430412199878987452&address=长沙
	// &birthday=2018-09-04&sex=女&xuexing=B&education=博士后&work=it
	 	private int users_id;// int PRIMARY key auto_increment,
		private String usersName;// VARCHAR(10),
		private String pwd; // VARCHAR(20) not null,
		private String phone;// VARCHAR(11) not null,
		private String email;// VARCHAR(30),
		private String name;// VARCHAR(20),
		private String cardId;// VARCHAR(18),	-- ���֤
		private String passport;// VARCHAR(8), -- ����(һ��Ӣ�ļ�7������)
		private String sex;// VARCHAR(2),
		@DateTimeFormat(pattern = "yyyy-MM-dd")
		private Date birthday;// varchar(20),
		private String address;// VARCHAR(50),
		private String xuexing;// VARCHAR(10),	-- Ѫ��
		private String education;// VARCHAR(10), -- ѧ��
		private String work;// VARCHAR(50)
		private String image;


		public String getImage() {
			return image;
		}
		public void setImage(String image) {
			this.image = image;
		}
		public int getUsers_id() {
			return users_id;
		}
		public void setUsers_id(int users_id) {
			this.users_id = users_id;
		}
		public String getUsersName() {
			return usersName;
		}
		public void setUsersName(String usersName) {
			this.usersName = usersName;
		}
		public String getPwd() {
			return pwd;
		}
		public void setPwd(String pwd) {
			this.pwd = pwd;
		}
		public String getPhone() {
			return phone;
		}
		public void setPhone(String phone) {
			this.phone = phone;
		}
		public String getEmail() {
			return email;
		}
		public void setEmail(String email) {
			this.email = email;
		}
		public String getName() {
			return name;
		}
		public void setName(String name) {
			this.name = name;
		}
		public String getCardId() {
			return cardId;
		}
		public void setCardId(String cardId) {
			this.cardId = cardId;
		}
		public String getPassport() {
			return passport;
		}
		public void setPassport(String passport) {
			this.passport = passport;
		}
		public String getSex() {
			return sex;
		}
		public void setSex(String sex) {
			this.sex = sex;
		}
		
		public Date getBirthday() {
			return birthday;
		}
		public void setBirthday(Date birthday) {
			this.birthday = birthday;
		}
		public String getAddress() {
			return address;
		}
		public void setAddress(String address) {
			this.address = address;
		}
		public String getXuexing() {
			return xuexing;
		}
		public void setXuexing(String xuexing) {
			this.xuexing = xuexing;
		}
		public String getEducation() {
			return education;
		}
		public void setEducation(String education) {
			this.education = education;
		}
		public String getWork() {
			return work;
		}
		public void setWork(String work) {
			this.work = work;
		}
		public Users() {
			super();
		}

	@Override
	public String toString() {
		return "Users{" +
				"users_id=" + users_id +
				", usersName='" + usersName + '\'' +
				", pwd='" + pwd + '\'' +
				", phone='" + phone + '\'' +
				", email='" + email + '\'' +
				", name='" + name + '\'' +
				", cardId='" + cardId + '\'' +
				", passport='" + passport + '\'' +
				", sex='" + sex + '\'' +
				", birthday=" + birthday +
				", address='" + address + '\'' +
				", xuexing='" + xuexing + '\'' +
				", education='" + education + '\'' +
				", work='" + work + '\'' +
				", image='" + image + '\'' +
				'}';
	}

}
